package com.google.gwt.sample.dynatablerf.client.site;

import com.google.gwt.sample.dynatablerf.client.AppController;
import com.google.gwt.sample.dynatablerf.client.site.views.MainView;
import com.google.gwt.user.client.ui.HasWidgets;

public class SiteAppController implements AppController {

	private HasWidgets container;

	public SiteAppController(HasWidgets container) {
		super();
		this.container = container;
	}

	@Override
	public void start() {
		MainView mainView = new MainView();
		container.clear();
		container.add(mainView);
	}
}
